<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>车辆类型库存清单</title>
    <style>
        body{
            margin: 0 auto;
            width: auto;
            background-repeat: no-repeat;
            /* background-image: url("static/15.jpg"); */
            /* background-image: url('/static/107.png'); */
            background-color:  rgb(163, 163, 246);
            background-attachment:fixed;
            background-size:cover;
            background-position:center;
        }
        h1{
            color: rgb(236, 247, 80);
            text-align: center;
            font-size: 60px;
            margin-top: 50px;
        }
        a{
            margin: 2px;
            padding: 6px 20px;
            border: 5px solid rgba(255, 150, 150, 0.3);
            text-align: center;
            background-color: rgba(243, 75, 75, 0.3);
            color: rgb(255, 255, 255);
            font-weight: 1000;
            border-radius: 20px;
            text-decoration:aliceblue;
        }
        .cz{
            margin: 2px;
            padding: 5px 10px;
            border: 1px solid rgba(255, 150, 150, 0.3);
            text-align: center;
            background-color: rgba(243, 75, 75, 0.3);
            color: rgb(255, 255, 255);
            font-weight: 500;
            border-radius: 10px;
            text-decoration:aliceblue;
        }
        table, tr, td{
            border: 2px solid rgb(127, 125, 125);border-collapse: collapse;
        }
        table{
            width: 100%;
        }
        .text{
            background-color: rgba(255, 255, 255, 0.2);
            color: rgb(0, 0, 0);
            font-weight: 500;
        }
        td{padding: 10px; text-align: center; font-size: 20px;}
        .tou{
            background-color: rgba(250, 161, 161, 0.3); 
            color: rgb(247, 247, 247);
            font-size: 22px; font-weight: bold;
        }
        video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            z-index: -1; /* 确保视频在内容之后 */
            transform: translate(-50%, -50%); /* 居中视频 */
        }    
    </style>
</head>
<body>
    <video src="" autoplay muted loop></video>
    
    <h1>车辆类型库存清单</h1>
    <p>
        <a href="/">首页</a>
        <a href="/carStockList">车辆类型列表</a>
        <a href="/addCarStockInfo">添加车辆类型</a>
        <a href="/addCarInfo">添加车辆</a>
        <a href="/workerList">查看员工信息</a>
        <a href="/addWorkerInfo">添加员工信息</a>
        <a href="/carUseList">查看车辆调用记录</a>
        <a href="/addCarUseInfo">添加车辆调用记录</a>
    </p>

    <table>
        
        <tr class="tou">
            <td>类型</td><td>车牌号</td><td>使用状态</td><td>年份</td><td>保险日期</td>
            <td>年检日期</td><td>价格</td><td>负责人</td><td>联系方式</td><td>操作</td>
        </tr>
        {% for i in info%}
        <tr class="text">
            <td>{{i[1]}}</td><td>{{i[0]}}</td><td>{{i[2]}}</td><td>{{i[3]}}</td><td>{{i[4]}}</td>
            <td>{{i[5]}}</td><td>{{i[6]}}</td><td>{{i[7]}}</td><td>{{i[8]}}</td>
            <td><a class="cz" href="/updateCarInfoList/{{i[0]}}">修改</a><a class="cz" href="/deleteCarInfoList/{{i[0]}}">删除</a></td>
        </tr>
        {% endfor %}
        
    </table>
</body>
</html>